﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Dynamic;
using System.Text;
using Volo.Abp.Application.Dtos;

namespace Himp.Erp
{
    public class OutboundDetlDto : EntityDto<Guid>
    {
        /// <summary>
        /// 出库单Id
        /// </summary>
        public Guid OutboundRecId { get; set; }

        /// <summary>
        /// 物料信息Id
        /// </summary>
        public Guid MatlInfoId { get; set; }

        /// <summary>
        /// 物料信息
        /// </summary>
        public MatlInfoDto MatlInfo { get; set; }

        /// <summary>
        /// 序号
        /// </summary>
        public int IndexNo { get; set; }

        /// <summary>
        /// 批次号
        /// </summary>
        public string Bchno { get; set; }

        /// <summary>
        /// 入库明细
        /// </summary>
        public Guid InboundDetlId { get; set; }

        /// <summary>
        /// 入库明细
        /// </summary>
        public InboundDetlDto InboundDetl { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public decimal Cnt { get; set; }

        /// <summary>
        /// 最终成交单价
        /// </summary>
        public decimal FinlTrnsPric { get; set; }

        /// <summary>
        /// 最终成交金额
        /// </summary>
        public decimal FinlTrnsAmt { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Exp { get; set; }
    }
}
